﻿using System;
using System.Reflection;
using System.Windows.Forms;

namespace Module_Debug
{
    partial class frmAbout : Form
    {
        public frmAbout()
        {
            Version ApplicationVersion = new Version(Application.ProductVersion);

            InitializeComponent();
            //label2.Text = "Version：" + String.Format("{0}", AssemblyVersion) + "\r\n" +
            //Application.ProductVersion + "\r\n" +
            label2.Text = System.IO.File.GetLastWriteTime(this.GetType().Assembly.Location).ToString();
        }

        #region Assembly Attribute Accessors
        public string AssemblyVersion
        {
            get
            {
                return Assembly.GetExecutingAssembly().GetName().Version.ToString();
            }
        }

        #endregion

    }
}
